package library.service;

import java.util.List;
import library.domain.Book;
import library.exception.DataException;

public interface BookService extends Service {

    public Book getBook(Integer identity, Boolean needContent) throws DataException;

    public List<Book> findByName(String name) throws DataException;

    public List<Book> findByTag(String tag) throws DataException;

    public void newBook(Book book) throws DataException;
}
